home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / DATABASE / WYSWYG.ZIP;1 / WYSIWYG.TXT
Encoding:
Text File  |  1992-10-20  |  53.8 KB  |  1,215 lines

  1.                       1-2-3 WYSIWYG TIPS AND TECHNIQUES
  2.  
  3.  
  4.  
  5. Lotus 1-2-3 with Wysiwyg provides advanced display, formatting, and printing
  6. features that help you build worksheets that look better and communicate their
  7. contents more effectively.  Wysiwyg (What-You-See-Is-What-You-Get) gives you
  8. the tools to prepare great-looking forms and menus, generate reports that
  9. combine numbers, text, and graphics on the same page, and customize the 1-2-3
  10. screen colors and worksheet fonts to your requirements.  Wysiwyg also lets you
  11. use a mouse to quickly complete 1-2-3 tasks.
  12.  
  13. This article provides tips on how to use 1-2-3 Wysiwyg more effectively.  It
  14. summarizes many of the Wysiwyg shortcuts and it also describes some previously
  15. undocumented 1-2-3 Wysiwyg features.
  16.  
  17.  
  18. NOTE  To tell 1-2-3 to load Wysiwyg on startup, do the following:  Press
  19. ADDIN (Alt-F10), select Settings System Set, select WYSIWYG.PLC, and
  20. select Yes No-Key.  Then, select Update Quit Quit to save the new add-in
  21. configuration and return to READY mode.  From now on, when you start 1-2-3,
  22. Wysiwyg will load automatically.
  23.  
  24.  
  25. ROW, COLUMN, AND RANGE SHORTCUTS
  26.  
  27.  
  28. One of the nicest features of 1-2-3 Wysiwyg is that it provides keyboard and
  29. mouse support, so you can quickly perform various tasks without going through
  30. the usual menu choices.
  31.  
  32. Following are some keyboard and mouse shortcuts you can use to work with
  33. columns, rows, and ranges.  Later sections of this article describe shortcuts
  34. that apply to other kinds of tasks.
  35.  
  36. Row/Column Shortcuts
  37.  
  38.  
  39. Operation            Menu Command     Shortcut
  40.  
  41.  
  42. Set column width     Worksheet        MOUSE  Move the mouse pointer to the
  43.                      Column           vertical line to the right of the column
  44.                      Set-Width        letter. Press the left mouse button and
  45.                                       drag the mouse pointer to the right or
  46.                                       left until the column is the width you
  47.                                       want.  Release the mouse button.
  48.  
  49. Reset column width   Worksheet        MOUSE  Move the mouse pointer to the
  50.                      Column           vertical line to the right of the column
  51.                      Reset-Width      letter, press the left mouse button,
  52.                                       press SHIFT, release the button,
  53.                                       release SHIFT.
  54.  
  55. Hide a column        /Worksheet       MOUSE  Move the mouse pointer to the
  56.                      Column Hide      vertical line to the right of the column
  57.                                       letter.  Press the left mouse button and
  58.                                       drag the mouse pointer to the left, past
  59.                                       the vertical line to the left of the
  60.                                       column number.  Release the mouse button.
  61.  
  62. Display a hidden     /Worksheet       MOUSE  Move the mouse pointer to the
  63. column               Column Display   vertical line to the left of the column
  64.                                       letter after the hidden column you want
  65.                                       to redisplay.  Press the left mouse
  66.                                       button and drag the mouse pointer to the
  67.                                       right.  Release the mouse button.
  68.  
  69. Set row height       :Worksheet Row   MOUSE  Move the mouse pointer to the
  70.                      Set-Height       horizontal line below the row number of
  71.                                       the row you want to change.  Press and
  72.                                       hold the left mouse button, then drag the
  73.                                       mouse pointer up or down until the row is
  74.                                       the height you want.  Release the mouse
  75.                                       button.
  76.  
  77.  
  78. Range Selection Shortcuts
  79.  
  80.  
  81. Operation            Menu Command     Shortcut
  82.  
  83. Preselect a range    None             KEYBOARD  Move the cell pointer to one
  84. for one or more                       corner of the range, press (F4), highlight
  85. commands                              the range, and press ENTER.
  86.  
  87.                                       MOUSE  Move the cell pointer to one
  88.                                       corner of the range, press the left mouse
  89.                                       button, and press and release SHIFT
  90.                                       without releasing the mouse button.  Drag
  91.                                       the mouse to highlight the range, then
  92.                                       release the mouse button.
  93.  
  94. Deselect a range     None             Move the cell pointer, press ESC,
  95.                                       or click the left mouse button.
  96.  
  97.  
  98. TEXT FORMATTING
  99.  
  100.  
  101. :Format commands, :Text commands, and formatting sequences can all be broadly
  102. thought of as parts of 1-2-3 Wysiwyg's text formatting capabilities.  Each can,
  103. in one way or another, control how Wysiwyg displays and prints worksheet data.
  104.  
  105. Things You Should Know About Wysiwyg Text Formatting
  106.  
  107. The :Format commands let you control the overall appearance of cells and
  108. ranges.  The :Text commands perform a similar service, but for individual
  109. characters and words within cells.  Formatting sequences, too, let you change
  110. the way text looks within cells, but formatting sequences work in circumstances
  111. where you can't use :Text commands, and they also provide additional formatting
  112. control that is not available through the menus.
  113.  
  114. :Format Commands
  115.  
  116. Use the :Format commands to change fonts, colors, and attributes at the cell or
  117. range level, and to add lines or shading for emphasis.
  118.  
  119. :Text Commands
  120.  
  121. Use :Text commands to fine-tune text formatting.  :Text Edit gives you access
  122. to a miniature word processor within the worksheet environment.  You can enter
  123. and edit data directly in the worksheet instead of in the control panel, and
  124. you have access to word-processing features such as word wrap and font
  125. control.  :Text Align commands align labels within ranges instead of within
  126. cells, so you can, for example, center a long label over a range of cells
  127. without having to carefully measure column widths.  :Text Reformat rearranges a
  128. column of long labels into paragraph form, somewhat like /Range Justify.
  129.  
  130. When you are using :Text Edit, pressing (F3) brings up a formatting menu
  131. that lets you modify the way text prints or is displayed.  You can change
  132. attributes such as bolding and underlining, and you can assign different fonts,
  133. colors, or outlines to the contents of cells and to individual words or
  134. characters.
  135.  
  136. Formatting Sequences
  137.  
  138. When you select formatting options with (F3), 1-2-3 Wysiwyg inserts
  139. formatting sequences in the cell at the cursor location.  These formatting
  140. sequences are actually independent of :Text mode, and you can type them
  141. directly even in cells that are not in {Text} format.
  142.  
  143. With formatting sequences, you can change the format of text in any cell,
  144. regardless of the cell format, and you can change text in headers, footers, and
  145. in graphics.  You can also create effects that go beyond the formatting options
  146. of the :Text Edit menu.  Besides changing fonts, colors, or attributes such as
  147. bolding and underlining, formatting sequences allow you to control the spacing
  148. between characters (kerning); create a variety of outlines and strike-throughs;
  149. hide characters; use eight additional colors; and flip or rotate text
  150. horizontally or vertically.
  151.  
  152.  
  153. NOTE  Not all formatting sequence combinations will work with all printers.
  154.  
  155.  
  156. Text Formatting Tips
  157.  
  158. Tip: Using Formatting Sequences
  159.  
  160.    Most of the available formatting sequences are described in Wysiwyg
  161.    Publishing and Presentation on page 3-14.  These formatting sequences, as
  162.    well as others not previously documented, are also listed in Appendix A of
  163.    this document.
  164.  
  165.    Steps:
  166.  
  167.    To add formatting sequences to text or text objects, first edit the text you
  168.    want to format, either by pressing [EDIT] (F2) for text or by selecting
  169.    :Graph Edit Edit Text for text objects.  Then, move the cursor in front of
  170.    the first character you want to format and press [CTRL-A].  A triangle
  171.    symbol appears.  After the triangle symbol, type one of the codes from the
  172.    tables in Appendix A.  Wysiwyg applies the specified format to the
  173.    subsequent characters in the cell.  You can apply more than one formatting
  174.    sequence to a particular set of characters, as long as you begin each with
  175.    [CTRL-A].  For example, to format text as bold italics, first press
  176.    [CTRL-A] and then type b to turn on the bold attribute, then press
  177.    [CTRL-A] and then type i to turn on the italic attribute.
  178.  
  179.    To stop using a particular formatting code, move to the end of the text you
  180.    want to format, press [CTRL-E], and then type the formatting code you
  181.    want to stop using.  For example, if you are formatting text as bold italics
  182.    and want to stop using bold but continue to use italics, press [CTRL-E]
  183.    and then type b.  To stop using all formatting codes and mark the end of the
  184.    formatting sequence, press [CTRL-N].  Wysiwyg displays an upside down
  185.    triangle symbol.
  186.  
  187.    Removing formatting sequences is just like removing text characters from a
  188.    label.  Move the cell or text object that contains the formatting sequence
  189.    to the control panel, then use [DEL] or [BACKSPACE] to remove the
  190.    formatting sequence characters.
  191.  
  192.  
  193.    NOTE  Formatting codes are case sensitive, so be sure to type uppercase or
  194.    lowercase letters as they appear in the tables in Appendix A.
  195.  
  196.  
  197.  
  198. Tip: Changing Text Attributes with {LET} Commands
  199.  
  200.    Instead of using menu commands from within a macro to change text
  201.    attributes, use formatting sequences in {LET} statements.
  202.  
  203.    Steps:
  204.  
  205.    Using {LET} statements in macros to change cell attributes is much faster
  206.    than using the menu commands.  For instance, to make cell A:A1 display its
  207.    contents in italics, precede the current cell contents with the characters
  208.    i.  To do so, use a string formula like this:  LET A:A1,+"i"&A:A1}, where
  209.     represents the triangle symbol that appears when you type [CTRL-A].
  210.  
  211. Tip: Mixing Text with Text Objects
  212.  
  213.    Normally, when you have fonts of different sizes on the same row, 1-2-3
  214.    Wysiwyg automatically adjusts the row height to a size appropriate to the
  215.    largest font (approximately 120% of the size of the largest font, rounded to
  216.    the nearest whole point size).  You can override automatic row height
  217.    adjustments by manually setting the row height.  However, if you enter text
  218.    in a size larger than the row height, Wysiwyg does not display the upper
  219.    part of that text.
  220.  
  221.    To combine large fonts and small fonts on the same row without either
  222.    clipping the top of the large font or leaving too much white space between
  223.    rows for the smaller fonts, you must combine ordinary text with text objects
  224.    in Blank graphs.
  225.  
  226.    Steps:
  227.  
  228.    First, enter the normal-sized text into cells.  Then, select :Graph Add
  229.    Blank to create a blank space slightly larger than the size of the larger
  230.    text you want to add.  Select :Graph Edit Options Font-Magnification 0 to
  231.    turn off font resizing.  Then, select Add Text, type in the text you want,
  232.    and use the mouse or :Graph Edit Rearrange Move to position the text object
  233.    where you want it.  If necessary, adjust the font with the Edit Font
  234.    commands or with formatting sequences, then Quit the :Graph Edit menu.
  235.    1-2-3 displays the text object beside ordinary rows of text.
  236.  
  237.  
  238.    NOTE  You can also use the same technique -- combining text objects with
  239.    ordinary text -- to fit more than one line of small-sized text in a single
  240.    row.
  241.  
  242.  
  243. Text Formatting Shortcuts
  244.  
  245.  
  246. Operation            Menu Command     Shortcut
  247.  
  248.  
  249. Edit text in a Text  :Text Edit       MOUSE  Double-click any cell in the Text
  250. range                                 range with the left mouse button.
  251.  
  252. Format text in a     :Text Edit,      KEYBOARD  Move the cell pointer to the
  253. Text range           (F3),       text, press [EDIT], and enter
  254.                      [font or         formatting sequences for desired fonts or
  255.                      attribute]       attributes (see Appendix A).
  256.  
  257.  
  258. PRINTING
  259.  
  260.  
  261. 1-2-3 has two ways of printing data and graphs.  The /Print commands are
  262. designed to print data and graphs without Wysiwyg formatting, while the :Print
  263. commands print worksheets with Wysiwyg formatting.
  264.  
  265. Wysiwyg lets you control the usual 1-2-3 print settings, but it also adds a
  266. number of new features, such as a print status screen, the ability to save page
  267. layouts to disk, print preview, print compression, and many additional printer
  268. support options.
  269.  
  270. Things You Should Know About Printing
  271.  
  272. If you try to print a Wysiwyg-formatted worksheet with /Print, you will get
  273. only the worksheet data and the current graph or named graphs, not any of the
  274. graphical or text objects you have added.  This is useful if, for example, you
  275. want to print a rough draft, or if you want to create an ASCII file from a
  276. worksheet.  Most of the time, however, you will probably use :Print.
  277.  
  278. /Print, :Print, and Page Breaks
  279.  
  280. One important difference between /Print and :Print is the way the two sets of
  281. commands handle page breaks.  /Print prints page breaks that are created with
  282. /Worksheet Page.  :Print prints page breaks that are created with :Worksheet
  283. Page.  Do not use /Worksheet Page and :Worksheet page in the same print range.
  284.  
  285. Printing Allways Files with 1-2-3 Wysiwyg
  286.  
  287. You can import Allways-formatted worksheet files into 1-2-3.  For the most
  288. part, Wysiwyg formatting is similar to Allways formatting.  There are, however,
  289. some differences in the ways the two products work, and these differences can
  290. affect printed output.
  291.  
  292. When you use Allways, you switch back and forth between the 1-2-3 environment
  293. and the Allways environment.  To make it easier to work simultaneously in both
  294. environments, Allways maintains its own column width settings independently
  295. from those used in 1-2-3.  In Wysiwyg, on the other hand, you can perform all
  296. 1-2-3 commands from the Wysiwyg environment, so Wysiwyg and 1-2-3 use the same
  297. column settings.  Allways and Wysiwyg also use fonts from different
  298. manufacturers and handle character spacing differently.  In summary,
  299.  
  300. Allways:
  301. *  Uses its own column widths, separate from the widths maintained by 1-2-3.
  302. *  Allows you to specify column widths in up to two decimal places (for
  303.     instance, 12.75 characters).
  304. *  Uses the width of a numeral formatted as Font 1 as the width of a character
  305.     for purposes of column width measurement.  Font 1 can be changed, thus
  306.     changing the column width.
  307. *  Uses Compugraphic fonts.
  308.  
  309. Wysiwyg:
  310. *  Uses the same column widths as 1-2-3.
  311. *  Allows you to specify column width settings only in whole characters (for
  312.     instance, 12 characters).
  313. *  Uses 1/10th of an inch as the width of a character for purposes of column
  314.     width measurement, regardless of the size of Font 1.
  315. *  Uses Bitstream fonts.
  316.  
  317. When you retrieve an Allways-formatted worksheet file in 1-2-3 with Wysiwyg,
  318. Wysiwyg tries to duplicate the Allways column widths.  However, the differences
  319. between the two products can sometimes cause Allways-formatted documents to
  320. display or print wider or narrower in Wysiwyg than they did in Allways.  To
  321. correct the display or printed output, modify the column width or font of the
  322. affected ranges, as described in the tip "Printing an Allways Document in
  323. Wysiwyg" below.
  324.  
  325. Printing Tips
  326.  
  327. Tip: Printing an Allways Document in 1-2-3 Wysiwyg
  328.  
  329.    An Allways-formatted report that fits across a page when printed with
  330.    Allways may use more or less space when you print it with Wysiwyg.  The best
  331.    way to fix the problem is to create a 1-2-3 Wysiwyg version of the worksheet
  332.    file that accounts for differences between the way Allways and Wysiwyg
  333.    handle column widths and fonts.
  334.  
  335.    Steps:
  336.  
  337.    First, determine whether the file is printing incorrectly because of column
  338.    width differences, font differences, or both.  Adjust column widths in the
  339.    new 1-2-3 Wysiwyg file as necessary and print the report.  If adjusting
  340.    column widths doesn't completely solve the problem, adjust the point size,
  341.    either by changing the point size used in the range that isn't printing
  342.    correctly or by changing the size of the corresponding font in the current
  343.    font set.
  344.  
  345.    When you are satisfied with the results, save the worksheet file as a .WK3
  346.    file.  1-2-3 Wysiwyg automatically creates a .FM3 file with the same name as
  347.    the worksheet file.  It saves the new column widths in the .WK3 file and the
  348.    new font settings in the .FM3 file.  As long as the .FM3 file is in the same
  349.    directory as the new worksheet file, 1-2-3 Wysiwyg uses the new settings
  350.    instead of the Allways settings when you later print the worksheet file.
  351.  
  352. Tip: Centering and Right-Aligning Allways-Style Long Labels
  353.  
  354.    In Allways, if a centered label is wider than the column width, the label
  355.    overflows the cell edges and so remains centered over the cell.  Similarly,
  356.    if a right-aligned label is wider than the column width, it overflows the
  357.    left edge of the cell.
  358.  
  359.    Normally, 1-2-3 Wysiwyg does not display long, centered labels or long,
  360.    right-aligned labels in the Allways fashion.  Instead, you usually center or
  361.    right-align long labels over a range of cells with the :Text Align Center or
  362.    :Text Align Right commands.  You can, however, also duplicate the way
  363.    Allways handles long, centered and right-aligned labels in Wysiwyg.
  364.  
  365.    Steps:
  366.  
  367.    To have long, centered labels overflow the cell edges, use the label prefix
  368.    ^^ (double caret).  To have long, right-aligned labels overflow the left
  369.    cell edge, use the label prefix "" (double quotation mark).
  370.  
  371. Tip: Previewing for Black and White Printers
  372.  
  373.    You can switch the screen display from color to black and white to get an
  374.    idea of how your work will appear when printed on a black-and-white
  375.    printer.  For example, you might want to see how the colors in a graph or
  376.    drawing will appear when printed in shades of gray.
  377.  
  378.    Steps:
  379.  
  380.    Select :Display Mode B&W to change the display to black-and-white, then
  381.    select :Print Preview.  Wysiwyg previews the output in shades of gray.
  382.  
  383. Tip: Specifying Margins and Page Sizes in Different Units of Measurement
  384.  
  385.    With :Print Layout Margins, you can specify a print margin in inches,
  386.    millimeters, or centimeters.  Similarly, :Print Layout Page-Size Custom lets
  387.    you specify page dimensions in inches, millimeters, or centimeters.
  388.  
  389.    Steps:
  390.  
  391.    To specify inches as the unit of measurement for page layout, type in after
  392.    the margin or page-size setting.  To specify a dimension in millimeters,
  393.    type mm after you type a layout setting.  (You can also specify cm for
  394.    centimeters.)  1-2-3 Wysiwyg uses the last unit of measurement you entered,
  395.    inches or millimeters, as the default for all margin, page width, and page
  396.    length settings.
  397.  
  398. Printing Shortcut
  399.  
  400.  
  401. Operation            Menu Command     Shortcut
  402.  
  403.  
  404. Remove/display       :Print Info      KEYBOARD  Press [F6] to toggle
  405. Wysiwyg print                         :Print status screen display.
  406. status screen
  407.  
  408.  
  409. GRAPHICS
  410.  
  411.  
  412. The :Graph commands let you place 1-2-3 graphs anywhere in the worksheet and
  413. then enhance them with colors, text, arrows, and geometric shapes.  You can
  414. also add graph files saved in .PIC format, external graphics saved in .CGM
  415. format, or create your own drawings and worksheet annotations.
  416.  
  417. Things You Should Know About 1-2-3 Wysiwyg Graphics
  418.  
  419. In 1-2-3 with Wysiwyg, you can work with three basic types of graphics:  graphs
  420. from external files (.PIC or .CGM), graphs from within the current file (named
  421. graphs or the current graph), and objects created with the :Graph Edit Add
  422. commands.  It is easier to work with 1-2-3 Wysiwyg graphics if you understand
  423. the relationships between the worksheet and the various possible graphical
  424. elements you can create.
  425.  
  426. 1-2-3 Wysiwyg Graphics are Layered
  427.  
  428. Think of 1-2-3 Wysiwyg graphics as layers of images that sit on top of the
  429. worksheet.  The worksheet and the layers of images way Wysiwyg treats the
  430. worksheet and these image layers is much like the way you might treat the
  431. elements used to make a physical drawing:  the drawing board, some material to
  432. draw upon, and the picture itself -- the lines, shapes, and other images.
  433.  
  434. The worksheet itself, and any data it contains, is the base layer.  Think of it
  435. as the drawing board.  When you select :Graph Add and add any type of 1-2-3
  436. Wysiwyg graphic to the worksheet, Wysiwyg puts down a background layer on top
  437. of the worksheet.  The background layer defines the graphic's display area and
  438. serves as a surface on which to create the picture.  Think of it as the "paper"
  439. (or "transparency," if you want what is beneath the drawing to show through) on
  440. which the graphic is to be drawn.
  441.  
  442. Once the background layer is down, 1-2-3 Wysiwyg draws the image on top of it.
  443. The image, too, is a new layer.  Think of this as the picture itself.  In the
  444. simplest case -- a single graphic derived from an external file or 1-2-3 graph,
  445. or a single graphical or text object added to a Blank graph -- you have only
  446. two layers on top of the worksheet:  the background layer and the image or
  447. graphical object layer.  However, you can build up more complex pictures either
  448. by adding additional object layers to an existing Wysiwyg graphic, or by adding
  449. more than one 1-2-3 or external graph to the same display area.
  450.  
  451. Case 1:  Adding more objects
  452.  
  453. After you create any kind of graphic with :Graph Add, you can add graphical or
  454. text objects to it with :Graph Edit Add.  For instance, you can create a
  455. graphic from the current graph with :Graph Add Current and then add text to
  456. that graphic with :Graph Edit Add Text.  The display area then contains the
  457. worksheet "base," the background layer for the current graph, the current
  458. graph's image layer, and the object layer for the text you added.  Each time
  459. you select :Graph Edit Add and add a new graphical object or text object to a
  460. graphic, you add a new layer.
  461.  
  462. Case 2:  Adding more graphs
  463.  
  464. You can also build up pictures by adding more than one 1-2-3 graph, Blank
  465. graph, or external graph to the same display area.  When you select :Graph Add
  466. Current, Named, PIC, or Metafile, 1-2-3 creates another background layer, then
  467. lays down another image or object layer.  Initially, the new graphic covers up
  468. the one beneath it, which may be what you want.  If it's not, you can make the
  469. background layer and some of the colors of the new graphic transparent, so that
  470. all or part of the layer beneath shows through.  (More on this later in "[XREF]
  471. .")
  472.  
  473. Each 1-2-3 Wysiwyg graphic has at least two layers, the background layer and 
  474. the image or object layer.  These layers sit "on top of" the worksheet itself.
  475.  
  476. How 1-2-3 Stores and Manages Wysiwyg Graphics
  477.  
  478. Each of the basic types of 1-2-3 Wysiwyg graphics is stored and managed
  479. somewhat differently.  Understanding these differences can help ensure that
  480. your graphics accurately reflect current data, and that when you transfer a
  481. worksheet file containing a graphic to someone else, you provide all the
  482. components that person will need to display the same graphic.  Where a graphic
  483. comes from also affects how you change the colors and fonts used in the
  484. graphic.
  485.  
  486. Graphical and text objects:
  487.  
  488. 1-2-3 stores graphics created with :Graph Add Blank in the .FM3 file.  Wysiwyg
  489. graphics are updated with each worksheet recalculation (unless you applied
  490. :Graph Settings Sync No to the graphic).
  491.  
  492. Current or named graphs:
  493.  
  494. For graphics you create from a named or current graph, 1-2-3 stores settings
  495. you make from the :Graph menu in the .FM3 file.  As with Wysiwyg graphics,
  496. 1-2-3 updates current or named graphs you add to the worksheet with every
  497. worksheet recalculation (unless you applied :Graph Settings Sync No to the
  498. graphic).
  499.  
  500. Metafiles (.CGM) and PIC files:
  501.  
  502. Graphs and images stored in .CGM and .PIC files are never actually brought into
  503. the .WK3 file or the .FM3 file.  Instead, 1-2-3 Wysiwyg creates a reference to
  504. the graph file on disk, much like a file link.  It stores this reference, as
  505. well as any modifications you make to the graphic, in the .FM3 file.  To update
  506. graphics saved in .PIC and .CGM files that you then add to the worksheet, you
  507. must change the image itself and then select :Graph Compute.  1-2-3 Wysiwyg
  508. then redraws the image using the current .PIC or .CGM file's data.
  509.  
  510. Graphics Tips
  511.  
  512. Tip: Combining Graphs and Graphics
  513.  
  514.    In Wysiwyg, you can build up a complex image from a sequence of graphic
  515.    layers, much as, when a cartoonist makes an animated cartoon, he can build
  516.    up a series of frames by laying sheets of painted acetate that contain new
  517.    objects or characters on top of a base drawing.
  518.  
  519.    Steps:
  520.  
  521.    With :Graph Edit, you can add text, arrows, or hand-drawn pictures to any
  522.    graphic.  With :Graph Add, you can superimpose one graphic on another; then,
  523.    with :Graph Settings Opaque No, you can make the background of the second
  524.    graphic transparent, so the first graphic shows through.  Each graphic can
  525.    be manipulated separately.
  526.  
  527. Tip: Modifying External and 1-2-3 Graph Images from :Graph Edit
  528.  
  529.    Because Wysiwyg treats each graph you add to the worksheet with :Graph Add
  530.    Current, Named, PIC, or Metafile as a single object, you can directly change
  531.    only the size of text and the colors of various parts of these graphs from
  532.    :Graph Edit mode.  (For example, from :Graph Edit, you can't edit the text
  533.    used in a graph title created with /Graph Title.)  However, you can achieve
  534.    the same visual effect as you would get from editing the graph by layering
  535.    other graphics on top of an existing graph.
  536.  
  537.    Steps:
  538.  
  539.    By combining worksheet graphs or graph files with graphical objects created
  540.    in :Graph Edit, you can effectively modify any element of a graph, even if
  541.    you can't make changes to the original graph itself.  For example, you could
  542.    replace the original graph title of a .PIC file (which you could not
  543.    otherwise edit in Wysiwyg) with a new title by hiding the original title
  544.    behind either an opaque rectangle or a Blank graph, and then entering a new
  545.    title in the same or another location with :Graph Edit Add Text.
  546.  
  547.    NOTE  You can change the size of all text in the :Graph Edit window,
  548.    regardless of where it came from, with :Graph Edit Options
  549.    Font-Magnification, and you can change the colors of various parts of a
  550.    graph, regardless of its source, with :Graph Edit Color Map.  (See "[XREF]"
  551.    later in this article for tips on how to do this.)
  552.  
  553.  
  554. Tip: Using Cells or Range Names for Text Objects
  555.  
  556.    In graphs you create with :Graph Add Blank, you can use a cell reference as
  557.    a text object instead of typing the literal text.  This feature lets you
  558.    display different numbers or labels in the graph for different worksheet
  559.    conditions.
  560.  
  561.    Steps:
  562.  
  563.    First, create a simple @IF formula such as:
  564.       @IF(SALES>QUOTA,"Wow!","Try harder!").
  565.    Then, refer to this formula in a Wysiwyg graph annotation so that the
  566.    annotation displays the appropriate phrase.  In this case, the contents of
  567.    the graph annotation depend on the relationship between SALES and QUOTA).
  568.    If the SALES value in the worksheet is greater than the QUOTA value, this
  569.    formula evaluates to the phrase "Wow!"; otherwise, it says "Try harder!"
  570.  
  571.    To do so, select :Graph Edit (or double-click on the graph you want to
  572.    edit).  Select Add Text and type a backslash followed by the cell address or
  573.    the range name of the cell that contains the @IF formula, (for example,
  574.    \B:D19 or a range name for that cell such as COMPARISON).  Press ENTER
  575.    , then move the cursor to the location at which you want the text to
  576.    appear.  Press ENTER again or click the left mouse button.  Instead
  577.    of displaying the cell reference, Wysiwyg displays the current value of cell
  578.    B:D19 (in this case, either "Wow!" or "Try harder!).
  579.  
  580.  
  581.    NOTE  Use a range name for the cell that you want to use as a text object.
  582.    If you use a range name, 1-2-3 will always find the correct cell, since the
  583.    range name will always evaluate to the cell's current address.  (If you type
  584.    a cell address instead of a range name and then later move that cell to
  585.    another location, 1-2-3 will reference the cell at the original address,
  586.    rather than your label or formula cell.)
  587.  
  588.  
  589. Tip: Determining the Optimum Display Ratio for Graphs
  590.  
  591.    When you create a graphic with :Graph Add, Wysiwyg automatically sizes the
  592.    graphic to the display range you specify.  If the display range is too wide,
  593.    or too narrow, Wysiwyg distorts the display, and it may also print similar
  594.    vertical and horizontal lines with different widths.
  595.  
  596.    The optimum display range for graphs is a width/height ratio of 4/3.  If you
  597.    use a display range with this ratio, Wysiwyg displays and print graphs as
  598.    true as possible to the original image, regardless of the size of the
  599.    display range.
  600.  
  601.    Steps:
  602.  
  603.    The easiest way to ensure a 4/3 ratio is to use the worksheet frame as a
  604.    measuring tool.  Select :Display Options Frame Special to display the
  605.    worksheet frame in units of measurement rather than in row numbers and
  606.    column letters.  :Display Options Grid Yes displays a row/column grid.
  607.    Together, these commands allow you to adjust the column widths and row
  608.    heights to set up the graphic display area in any proportions you like,
  609.    including 4/3.
  610.  
  611.    For example, suppose you want to import a Metafile into a two-inch-wide
  612.    area.  The optimum height for this width is 1.5 inches.  Turn on grids and
  613.    display the worksheet frame in inches.  Adjust the width of the columns in
  614.    the display area so that the total width from the beginning of the first
  615.    column to the end of the last column is 2 inches (for example, set columns A
  616.    and B to 10 and use them as the width).  Then, adjust the width of the rows
  617.    in the display area so that the top of the top row of the display area and
  618.    the bottom of the bottom row are 1.5 inches apart (for example, set rows 1
  619.    to 9 to 12 points each and use them as the height).  Select :Graph Add
  620.    Metafile and add the graph you want to display.  Wysiwyg displays the graph
  621.    in correct proportions.
  622.  
  623.  
  624.    NOTE  The font-magnification scaling factor controls the size of text in a
  625.    graphic, but it also affects the thickness of lines in graphics.  Set :Graph
  626.    Edit Options Font-Magnification to 0 to be sure that horizontal and vertical
  627.    lines of the same logical width (for example, Medium) print and display the
  628.    same.
  629.  
  630.  
  631. Tip: Transferring a 1-2-3 Wysiwyg Application to Someone Else
  632.  
  633.    As you've seen, a complex Wysiwyg graph can be made up of many individual
  634.    components.  When you transfer a graph to someone else, make sure you
  635.    include the .WK3 file, the .FM3 file, and any .CGM or .PIC files referenced
  636.    in the worksheet file.  Also note that when Wysiwyg creates a reference to a
  637.    .CGM or .PIC file, it automatically includes the entire path, including the
  638.    drive letter.  If you plan to move a worksheet that contains Wysiwyg
  639.    graphics derived from one or more external files to a different drive or
  640.    directory, use only the name of the file, rather than using the full path.
  641.  
  642.    Steps:
  643.  
  644.    For example, suppose you have a map of the Canadian provinces in a .CGM file
  645.    named CANPROV.CGM, and that this file resides on the C: drive, in directory
  646.    \MAPS.  If you select :Graph Add Metafile, then select CANPROV.CGM, Wysiwyg
  647.    uses the full path, C:\MAPS\CANPROV.CGM.  This is fine if the worksheet file
  648.    and the graph stay where they are, but if you move the files to another
  649.    location, Wysiwyg will still look for CANPROV.CGM in C:\MAPS.
  650.  
  651.    The easiest way to handle applications that contain graphics, when you might
  652.    move the application, is to 1) keep the worksheet files and the graphics
  653.    files in the same directory, 2) make that directory the current directory,
  654.    and 3) type the name of each .CGM or .PIC file, without a drive or
  655.    directory, in response to the Select a graphic file: prompt.  Wysiwyg will
  656.    be able to find the .CGM or .PIC files as long as those file are in the
  657.    current directory, whatever that directory is named.
  658.  
  659.    For example, if a worksheet file that references CANPROV.CGM is in the
  660.    directory C:\SALES, copy CANPROV.CGM to C:\SALES and then make C:\SALES the
  661.    current directory.  Select :Graph Add Metafile and highlight CANPROV.CGM.
  662.    Then, press ESC twice to erase the proposed file name and type in
  663.    CANPROV.CGM yourself instead of pressing ENTER to accept the full
  664.    path name.  When 1-2-3 Wysiwyg draws the graph, it uses the file name
  665.    CANPROV.CGM as the file reference instead of C:\SALES\CANPROV.CGM.
  666.  
  667. Graph Editing Shortcuts
  668.  
  669. The entries in the following tables assume you are already in the graphics
  670. editing window.  To get into the graphics editing window, either move the cell
  671. pointer to any cell within the cell boundaries of a graph and double click the
  672. left mouse button, or select :Graph Edit and select the graph you want to
  673. edit.  To return to READY mode from :Graph Edit, either select Quit or press
  674. [CTRL-BREAK].
  675.  
  676. Changing the :Graph Edit Window
  677.  
  678.  
  679. Operation            Menu Command     Shortcut
  680.  
  681. Enlarge window       View +           KEYBOARD  Press [+] to enlarge the
  682. contents                              contents of the graphics editing window.
  683.  
  684. Reduce window        View -           KEYBOARD  Press [-] to reduce the
  685. contents                              contents of the graphics editing window.
  686.  
  687. Enlarge the          View In          MOUSE  Move the mouse cursor to the first
  688. graphics editing                      corner of the area you want to enlarge.
  689. window                                Hold down [CTRL], press and hold the
  690.                                       left mouse button, and drag the mouse to
  691.                                       stretch the area you want to enlarge.
  692.                                       Release the mouse button and the
  693.                                       [CTRL] key.
  694.  
  695. Restore the          View Full        MOUSE  Hold down [CTRL] and click
  696. graphics editing                      the left mouse button.
  697. window to normal
  698. size
  699.  
  700. Move display up      View Up          KEYBOARD  Press [UP] in :Graph Edit
  701. one-half screen                       (with enlarged view).
  702.  
  703. Move display down    View Down        KEYBOARD  Press [DOWN] in :Graph
  704. one-half screen                       Edit (with enlarged view).
  705.  
  706. Display/hide grid    Options Grid     KEYBOARD  In :Graph Edit, press [F4]
  707. lines                [Yes] [No]       to display grid lines, again to hide.
  708.  
  709.  
  710. Selecting and Handling Graphical and Text Objects
  711.  
  712.  
  713. Operation            Menu Command     Shortcut
  714.  
  715.  
  716. Select single        Select One       MOUSE  Move the mouse cursor to the
  717. object                                object and click the left mouse button
  718.                                       once.
  719.  
  720. Select/deselect one  Select           MOUSE  Move the mouse cursor to an object
  721. or more objects      More/Less        and hold down SHIFT while clicking
  722. without affecting                     once with the left mouse button.
  723. other selected
  724. objects
  725.  
  726. Delete selected      Rearrange        KEYBOARD  Press [DEL] to delete
  727. objects              Delete           selected objects from the graphics
  728.                                       editing window.
  729.  
  730. Copy selected        Rearrange Copy   KEYBOARD  Press [INS] to make a copy
  731. objects                               of selected objects in the graphics
  732.                                       editing window.
  733.  
  734. Restore most         Rearrange        KEYBOARD  When no objects are selected,
  735. recently deleted     Restore          press [INS] to restore the most
  736. objects                               recently deleted objects.
  737.  
  738. Move a selected      Rearrange Move   MOUSE  Move the mouse cursor to the
  739. object                                selected object, press and hold the left
  740.                                       mouse button, drag the object to wherever
  741.                                       you want to move it, and release the
  742.                                       mouse button.  To move selected object
  743.                                       along the x-axis, y-axis, or at a 45
  744.                                       degree angle, hold down SHIFT as
  745.                                       you drag the object.  For greatest
  746.                                       precision, use [RIGHT], [LEFT],
  747.                                       [UP], and [DOWN] to move the
  748.                                       object.
  749.  
  750.  
  751. Changing Text Objects
  752.  
  753.  
  754. Operation            Menu Command     Shortcut
  755.  
  756.  
  757. Edit text in text    Edit Text        KEYBOARD  Select the text object, press
  758. object                                [EDIT] (F2), edit the text, and
  759.                                       press ENTER.  (Or, press
  760.                                       [EDIT] (F2), select the text object,
  761.                                       edit the text, and press ENTER.)
  762.  
  763. Change font or       Edit Font        KEYBOARD  In :Graph Edit, select the text
  764. attribute of text                     object, press [EDIT] (F2), add
  765. object                                formatting sequences, and press
  766.                                       ENTER.
  767.  
  768.  
  769. Adding Lines, Squares, and Circles to a Graphic
  770.  
  771.  
  772. Operation            Menu Command     Shortcut
  773.  
  774.  
  775. Add a line segment   :Graph Edit Add  MOUSE  Select Add Line.  Move the mouse
  776. at a 45-degree       Line             cursor to the first point, press and hold
  777. angle                                 the left mouse button, press SHIFT
  778.                                       , move the cursor to the next point.
  779.                                       Double-click the left mouse button when
  780.                                       you have finished drawing the line or
  781.                                       lines.
  782.  
  783. Add a square or      :Graph Edit Add  MOUSE  Select Add Rectangle (for a
  784. circle               [Rectangle]      square) or Ellipse (for a circle).  Move
  785.                      [Ellipse]        the mouse cursor to the first corner,
  786.                                       press and hold the left mouse button,
  787.                                       press SHIFT, stretch the box,
  788.                                       release the mouse button and then release
  789.                                       the SHIFT key.
  790.  
  791.  
  792. COLOR MAPPING
  793.  
  794.  
  795. In Wysiwyg, you can control the color of the background and image layers of a
  796. graphic separately.  You can change the color assignments for each of the
  797. colors in the graphic, either so that they more closely match the original (in
  798. the case of a .CGM or .PIC file you brought into the worksheet) or to create an
  799. entirely new effect.  For example, you can change the yellow parts of a graphic
  800. to green.  You can also make any part of a graphic transparent.  Making a color
  801. transparent allows whatever is beneath the transparent part to show through.
  802.  
  803. Things You Should Know About Color Mapping
  804.  
  805. Although each type of graphic allows somewhat different levels of flexibility,
  806. the principles are basically the same for graphic objects, named or current
  807. graphs, and .PIC or .CGM images.  There are, however, some differences, and
  808. understanding these differences will make it easier for you to quickly get the
  809. results you want with any type of graphic.  The next few sections describe
  810. those differences; the following tips show you how to apply that knowledge to
  811. graphics color editing.
  812.  
  813. Color Numbers and Color Maps
  814.  
  815. First, understand the Wysiwyg scheme for identifying colors used by :Graph Edit
  816. Color Map.
  817.  
  818. :Graph Edit Color Map displays a menu of 16 color numbers and letters (1
  819. through G), each of which represents one of the up to 16 colors Wysiwyg can
  820. display in a particular graphic.  Each of these color numbers is assigned a
  821. particular color.  For example, color number 1 is usually black and color
  822. number G is usually white.
  823.  
  824. You can change the color assigned to any of these color numbers to any of a
  825. palette of the 224 possible colors you see when you select one of these numbers
  826. or letters from the :Graph Edit Color Map menu.  Table B-1 in Appendix B shows
  827. the :Graph Edit Color Map default palette assignments by name and palette
  828. assignment.
  829.  
  830. Colors and Wysiwyg graphical objects:
  831.  
  832. Wysiwyg-created graphics give you the most control over color because Wysiwyg
  833. treats each line, shape, or text object as a separate object.  Just as you can
  834. move or copy each object, you can also separately manipulate the colors.  You
  835. can assign one of 224 palette colors to either the lines or the inside of an
  836. object (or the lines, inside, and text of a text object), and you can combine
  837. as many objects as you like into a single picture.
  838.  
  839. Colors and Metafiles or PIC files:
  840.  
  841. When you add a .CGM or .PIC image to a worksheet, Wysiwyg treats the image as
  842. one graphical object.  It examines the colors it finds in the image file and
  843. matches them to one of the 16 colors available from the :Graph Edit Color Map
  844. menu (colors 1 through G).  If you don't like the way Wysiwyg matched the
  845. colors, or if you want to achieve a completely different effect, you can change
  846. the color assignment with :Graph Edit Color Map.  The changes you make affect
  847. only that graphic; they do not affect the original .CGM or .PIC file.
  848.  
  849. Colors and Current or Named graphs:
  850.  
  851. Named and current graphs are handled similarly to .CGM or .PIC images, as far
  852. as color mapping is concerned.  You can change the color of various parts of
  853. the graph by selecting :Graph Edit Color Map.  As with .CGM or .PIC files, the
  854. changes you make affect only that graphic, not the original named or current
  855. graph settings.
  856.  
  857.  
  858. NOTE  When you create a graphic from the current graph or a named graph, color
  859. number 1 controls the graph text and axis labels, color numbers 2 through 7
  860. control the colors of the graph's data ranges, and color G controls the color
  861. of the graph's background.
  862.  
  863.  
  864. Graphical Object Colors vs Display Colors
  865.  
  866. Besides changing the colors of a graphical object, you can also change the
  867. colors of the Wysiwyg display (and, therefore, the colors of the graphical
  868. object's display).
  869.  
  870. Do not confuse the colors you change with :Graph Edit Color with the colors you
  871. can change with :Display Color Replace.
  872.  
  873. The :Graph Edit Color selections are the actual colors of the objects.  If you
  874. have a color printer, Wysiwyg will print the colors you select with :Graph Edit
  875. Color.  The :Display Color selections, on the other hand, affect only how the
  876. colors look on the screen.  Changing a color with :Display Color Replace has no
  877. effect on how the color prints.
  878.  
  879. Think of the difference between :Display Color Replace and :Graph Edit Color as
  880. similar to the difference between the colors used in a television broadcast and
  881. the colors you see on your own television.  By altering the color balance of
  882. the television set, you can make yellow look anywhere from purple to bright
  883. green (or even a shade of grey).  The broadcast image, however, is still
  884. yellow.  Similarly, with :Display Color Replace, you can change yellow to
  885. purple or green, but Wysiwyg will print it yellow.
  886.  
  887. The default colors and settings for :Display Color are:
  888.  
  889.       Black      0       Dark-Blue     1
  890.  
  891.       White      7       Cyan          3
  892.  
  893.       Red        4       Yellow       62
  894.  
  895.       Green     18       Magenta       5
  896.  
  897. You can change each of these colors to any of the possible 224 palette colors
  898. with :Display Color Replace.  Changes made to the display colors, if saved with
  899. :Display Default Update, affect all future 1-2-3 sessions.  They have no effect
  900. on printed output.
  901.  
  902. Select :Display Default Restore to replace the current display color settings
  903. with the display settings saved in WYSIWYG3.CNF.
  904.  
  905.  
  906. NOTE  Setting :Display Options Frame Relief or setting :Display Options
  907. Intensity High changes the color assignments.
  908.  
  909.  
  910. Color Mapping Tips
  911.  
  912. Tip: Fine-Tuning the Colors in a .CGM or .PIC File Image
  913.  
  914.    When you use :Graph Add to add a .CGM or .PIC file to the worksheet, the
  915.    colors you get will usually be close to the original, but they may not be
  916.    exact.  You can match then more closely with the :Graph Edit Color commands.
  917.  
  918.    Steps:
  919.  
  920.    Select :Graph Edit Color Map to display the graph editing window and the
  921.    menu of 16 colors.  The default colors associated with each of these 16
  922.    colors (colors 1 through G) are listed in the table in Appendix B.  To
  923.    determine which color in the graphic to change, compare the displayed color
  924.    you want to change with one of the colors in the table.  When you find a
  925.    match, note the number to the left of the color.
  926.  
  927.    Select that number or letter from the :Graph Edit Color Map menu.  Wysiwyg
  928.    displays a map of 224 colors.  The colors in the center column correspond to
  929.    the basic Wysiwyg colors.  Each of these colors can have a different palette
  930.    assignment.  All the other colors except the colors in the first column are
  931.    variations of these basic colors.  The colors in the first column are the
  932.    "permanent" colors; they cannot be changed by :Display Color Replace.
  933.  
  934.    Select a new color that more closely matches the original graph color and
  935.    press ENTER.  Wysiwyg redisplays the image, substituting the selected
  936.    color for the original color wherever it appears in the image.
  937.  
  938.    For example, suppose that you add a .CGM picture of a banana to the
  939.    worksheet file, and you feel that the yellow of the banana is off.  If you
  940.    refer to the chart in Appendix B, you see that yellow is color number 5.
  941.    So, select :Graph Edit Color Map 5.  Wysiwyg displays a color map and
  942.    highlights the number 41, which is the default color assignment for color
  943.    number 5.  Select a new shade of yellow (for example, 58), then press
  944.    ENTER.  Wysiwyg uses the new color for each part of the image that
  945.    used the original yellow.
  946.  
  947. Tip: Making Data Show Through a Graph
  948.  
  949.    Sometimes, it is useful to let whatever is beneath a graphic show through.
  950.    For example, you can draw a circle on top of data, or use arrows and lines
  951.    to visually connect different steps in a process.
  952.  
  953.  
  954.    A:  Take some worksheet data.
  955.  
  956.    B:  Create a new graphic to add to the display.
  957.  
  958.    C:  Add the new graphic to the display.
  959.  
  960.    D:  Make the new graphic's background transparent.
  961.  
  962.  
  963.    You can make any part of a graphic either a particular color or
  964.    transparent.  The procedure you must follow to make data in the worksheet or
  965.    in a layer beneath a graphic show through varies, depending on the source of
  966.    the graphic and the colors of the image or graphical objects.
  967.  
  968.    Steps:
  969.  
  970.    You can make a graphic's background layer transparent by selecting :Graph
  971.    Settings Opaque No.
  972.  
  973.    If the data is obscured only by the background (as is the case with a single
  974.    graphic added to a Blank graph), this will do the trick.  However, if the
  975.    data is beneath a colored part of the graphic, you will also have to set
  976.    that color to transparent.  To do so, you select :Graph Edit Color Map and
  977.    change the color of the part of the object that is concealing the data to
  978.    transparent.
  979.  
  980.    With .CGM files, sometimes you have only to change the background color, and
  981.    sometimes you have to change both the background color and the apparent
  982.    background of the .CGM image itself.  This is because different software
  983.    packages produce .CGM files with different ways of handling the image
  984.    background.  If the .CGM file itself has a transparent background when you
  985.    add it to the worksheet, all you have to do to make data show through the
  986.    background is to change the Wysiwyg background layer to transparent by
  987.    selecting :Graph Settings Opaque No.  If the .CGM file itself has a colored
  988.    background, or if you want data to show through some other part of the .CGM
  989.    image, you can set Opaque to No to make the Wysiwyg background transparent
  990.    and then make the color of part of the image transparent, too.
  991.  
  992.    To make a color transparent, you first find the color you need to change in
  993.    the chart in Appendix B.  Then, you select :Graph Edit Color Map and choose
  994.    the color number of the color you want to make transparent.  Wysiwyg
  995.    displays a map of 224 colors and outlines the current mapping for the color
  996.    you have selected.  Palette number 17 is the setting for transparent (the
  997.    color patch immediately below 1, labeled Transp).  Select it to make the
  998.    color number for the color you have chosen, for this particular image,
  999.    transparent.  For example, the color number for white (often used for .CGM
  1000.    file backgrounds) is G.  By default, white is mapped to palette number 201.
  1001.    To make this white transparent, select :Graph Edit Color Map G, move the
  1002.    color palette highlight to color patch number 17, and press ENTER.
  1003.  
  1004. Color Mapping Shortcut
  1005.  
  1006.  
  1007. Operation            Menu Command     Shortcut
  1008.  
  1009.  
  1010. Cycle through        :Display Colors  KEYBOARD  Select :Display Colors Replace
  1011. palette for color    Replace          and highlight the color you want to
  1012. you want to replace  [specify color,  replace but don't press ENTER.
  1013.                      specify number,  Press [UP] or [DOWN] to cycle
  1014.                      press            through the colors you can use to replace
  1015.                      ENTER]    the highlighted color.  As you press the
  1016.                                       arrow keys, the objects which use the
  1017.                                       highlighted color reflect the changes.
  1018.  
  1019.  
  1020.  
  1021. APPENDIX A:  1-2-3 WYSIWYG FORMATTING SEQUENCES
  1022.  
  1023.  
  1024. Formatting sequences in bold in Table A-1 and A-2 are previously undocumented.
  1025. The remaining sequences are also documented on page 3-14 of Wysiwyg Publishing
  1026. and Presentation.
  1027.  
  1028. To begin a formatting sequence, type [CTRL-A] followed by the code in the
  1029. table.  To end a formatting sequence, type [CTRL-E] followed by the code
  1030. you want to stop using.  To end all formatting sequences in a cell, type
  1031. [CTRL-N] after the last character you want formatted.
  1032.  
  1033.  
  1034.  
  1035.  
  1036. NOTE  Not all formatting sequence combinations will work with all printers.
  1037. Formatting codes are case sensitive, so be sure to type uppercase or lowercase
  1038. letters as they appear in the tables.
  1039.  
  1040.  
  1041. Table A-1:  Attributes
  1042.  
  1043.  
  1044.  
  1045.  
  1046. Code             Formats data as
  1047.  
  1048.  
  1049. b                Bold
  1050.  
  1051. d                Subscript
  1052.  
  1053. 2d               Lower subscript
  1054.  
  1055. i                Italics
  1056.  
  1057. 1g to 6g         Greying (mixes with background color)
  1058.  
  1059. 1k to 127k       Kerning (positive)
  1060.  
  1061. -1k to -127k     Kerning (negative)
  1062.  
  1063. 1o to 225o       Outline of characters
  1064.  
  1065. r1 to r3         Rotate 90, 180, 270 degrees
  1066.  
  1067. t                Thick (filled outlining)
  1068.  
  1069. u                Superscript
  1070.  
  1071. 2u               Higher superscript
  1072.  
  1073. x                Data flipped on its x axis (backwards)
  1074.  
  1075. y                Data flipped on its y axis (upside down)
  1076.  
  1077. 1_               Single underlining
  1078.  
  1079. 2_               Double underlining
  1080.  
  1081. 3_               Wide underlining
  1082.  
  1083. 4_               Outline around characters
  1084.  
  1085. 5_               Strike-through characters
  1086.  
  1087. 6_ to 31_        Additional strike-through, underlining, outlining
  1088.  
  1089. !                "Not" (following text is invisible)
  1090.  
  1091.  
  1092. Table A-2:  Colors and Fonts
  1093.  
  1094.  
  1095.  
  1096.  
  1097. Code             Formats data as
  1098.  
  1099.  
  1100. 0c               Current text color
  1101.  
  1102. 1c               Black (or White, if background is Black)
  1103.  
  1104. 2c               Red
  1105.  
  1106. 3c               Green
  1107.  
  1108. 4c               Dark blue
  1109.  
  1110. 5c               Cyan
  1111.  
  1112. 6c               Yellow
  1113.  
  1114. 7c               Magenta
  1115.  
  1116. 8c               White (if background is white, otherwise Black)
  1117.  
  1118. 9c               Permanent Light Brown
  1119.  
  1120. 10c              Permanent Orange
  1121.  
  1122. 11c              Permanent Green
  1123.  
  1124. 12c              Permanent Blue
  1125.  
  1126. 13c              Permanent Pink
  1127.  
  1128. 14c              Permanent Brown
  1129.  
  1130. 15c              Permanent Magenta
  1131.  
  1132. 1F               Font 1 from the current font set
  1133.  
  1134. 2F               Font 2 from the current font set
  1135.  
  1136. 3F               Font 3 from the current font set
  1137.  
  1138. 4F               Font 4 from the current font set
  1139.  
  1140. 5F               Font 5 from the current font set
  1141.  
  1142. 6F               Font 6 from the current font set
  1143.  
  1144. 7F               Font 7 from the current font set
  1145.  
  1146. 8F               Font 8 from the current font set
  1147.  
  1148. A to H           Font 1 to Font 8 from the current font set
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154. NOTE  Codes 9c through 15c display text in driver-dependent colors that are for
  1155. display purposes only.  If you assign them to text, the colors of the text will
  1156. look the same regardless of the Wysiwyg session's :Display Color settings.
  1157. These colors print as black, even if you have a color printer.
  1158.  
  1159.  
  1160. APPENDIX B:  :GRAPH EDIT COLOR MAP PALETTE ASSIGNMENTS
  1161.  
  1162.  
  1163. This table describes the colors and default palette assignments associated with
  1164. the color numbers available from the :Graph Edit Color Map menu.  See "[XREF]"
  1165. for more information on using this table to perform color mapping.
  1166.  
  1167.  
  1168.  
  1169. Color   Color                       Default
  1170. Number  Name                        Palette
  1171.                                     Assignment
  1172.  
  1173.  
  1174. 1       Black                       1
  1175.  
  1176. 2       Red                         9
  1177.  
  1178. 3       Green                       73
  1179.  
  1180. 4       Dark Blue                   137
  1181.  
  1182. 5       Yellow                      41
  1183.  
  1184. 6       Magenta                     169
  1185.  
  1186. 7       Permanent Blue              49
  1187.  
  1188. 8       Permanent Magenta           113
  1189.  
  1190. 9       Permanent Bright White      145
  1191.  
  1192. A       Permanent Orange            97
  1193.  
  1194. B       Permanent Green             65
  1195.  
  1196. C       Permanent Brown             129
  1197.  
  1198. D       Permanent Light Brown       33
  1199.  
  1200. E       Permanent Pink              81
  1201.  
  1202. F       Cyan                        105
  1203.  
  1204. G       White                       201
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210. NOTE  All "permanent" colors listed in this table are for display purposes
  1211. only.  If you assign them to a graphic, the colors of the graphic will look the
  1212. same regardless of the Wysiwyg session's :Display Color settings.  These colors
  1213. print as black, even if you have a color printer.
  1214.  
  1215.